<template>
    <div class='xiaoguo'>
                <!-- 头部 -->
    <div class="top header">
      <div class="left"><img src="@/assets/logo.png" alt="" /></div>
      <div class="right">
        <p>
          <i class="iconfont top-i icon-user"></i> <br /><span class="r-zi"
            >我的</span
          >
        </p>
        <p>
          <i class="iconfont top-i icon-nav"></i> <br /><span class="r-zi"
            >导航</span
          >
        </p>
      </div>
    </div>
      <div class="ul">
       <ul >
           <li class="li">户型<i class="iconfont icon-down o"></i></li>
           <li>区域<i class="iconfont icon-down o"></i></li>
           <li>风格<i class="iconfont icon-down o"></i></li>
           <li><i class="iconfont icon-search i"></i></li>
       </ul>
     </div>
     <div class="di">
         <div v-for="(item,index) in lists" :key="index" class="iv">
            <div class="img"><img :src="item.img" alt="" ></div> 
             <div>{{item.title}}</div>
         </div>
     </div>
     <div class="button">
            <ul>
                <li class="bai">上一页</li>
                <li>2/23</li>
                <li class="bai">下一页</li>
            </ul>
       </div>
        <!-- <div class="fu">服务热线：400-9977-65</div> -->
       <div class="ul">
       <ul >
           <li class="chu">触摸屏</li>
           <li>电脑版</li>
           <li>关于我们</li>
           <li>联系我们</li>
       </ul>
     </div>
    </div>
</template>

<script>
export default {
    data() {
        return {
            lists:[]
        };
    },
    mounted() {
          this.$axios.get("/api/home/xiaoguotu").then(res => {
      console.log(res.data);
      this.lists = res.data.data.list;
    });
    },
    methods: {},
    components:{}
};
</script>

<style lang='scss'>
.top,
.right {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
}
.left {
  img {
    margin-left: 18px;
    margin-top: 16px;
    width: 120px;
    margin-bottom: 16px;
  }
}
.right {
  p {
    margin: 5px 10px;
  }
  text-align: center;
  .r-zi {
    font-size: 22px;
    color: #999;
  }
  .top-i {
    font-size: 22px;
    color: #999;
    margin-bottom: 18px;
  }
}
.ul {
  width: 100%;
//   margin-top: 10px;
  height: 4.4rem;
  background-color: white;
  // border: red 1px solid;
  ul {
    li {
      float: left;
      line-height: 4rem;
  border: rgb(241, 237, 237) 1px solid;
      text-align: center;
  background-color: white;

      width:91px;
      .i{
          font-size:19px;
          color:#39c893;
      }
      .o{
          margin-left: 9px;
           color:#ccc;
      }
    }

    
  }

}
.di{
width: 100%;
// height: 500px;
  border: rgb(0, 0, 0) 1px solid;
//   float: left;

  .img{
      width: 171px;
      height: 123px;
      display: flex;
      float: left;
      img{
      width: 171px;
     height: 123px;
      }
  }
}
.iv{
  background-color: white;

    float: left;
    width: 100%;
    height: 120px;
}
.button{
      width: 100%;
      height: 40px;
        background-color: #ffffff;
      float: left;
      ul{
          li{
              float: left;
              width: 122px;
              height: 40px;
              line-height: 40px;
              text-align: center;
  border: rgb(228, 224, 224) 1px solid;
          
          }
      }
      .bai{
              color: #fff;
        background-color: #39c893;

          }
  }
  .fu{
      width: 100%;
      height: 40px;
        background-color: #ffffff;
      margin-top: 34px;
      line-height: 50px;
      text-align: center;
  }
  .chu{
      color:#39c893;
  }
</style>
